Start accepting [lib], allow `bin = []`
authorAlex Crichton <alex@alexcrichton.com>
Thu, 14 Aug 2014 06:02:08 +0000 (23:02 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 14 Aug 2014 06:02:08 +0000 (23:02 -0700)
commite2720d2bfd7ad32096260c1f2a9a83f082c849ce
tree821bf5d9f23fc54d6c36042303052aa7c27a330a
parent1b17bb0167b8aa02fc46e9e7de626d06e7b82eb2
Start accepting [lib], allow `bin = []`

This commit starts to accept `[lib]` as a single library per package. It also
allows opting-out of binaries/tests/examples with a top level `foo = []` rather
than taking an empty array to mean that inference should be enabled.

cc #327
src/cargo/util/toml.rs
tests/test_cargo_compile.rs